package com.example.lovedogs.mycenter;



import com.example.lovedogs.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

public class Address extends Activity implements OnClickListener {
	private ImageView iv_back ;
	private TextView tv_save ;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_address);
		init();
	}
	private void init() {
		iv_back = (ImageView) findViewById(R.id.iv_back);
		iv_back.setOnClickListener(this);
		tv_save = (TextView) findViewById(R.id.tv_save);
		tv_save.setOnClickListener(this);
	}
	@Override
	public void onClick(View v) {
		if(iv_back ==v){
			this.finish();
		}else if(tv_save == v){
			//保存用户收货地址
		}
	}

}
